package com.zx.cloud.security;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 宽华监控推送-工商-照面信息
 * </p>
 *
 * @author zhaoxuan
 * @since 2022-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TaskHkhjkCompanyBasic对象", description="宽华监控推送-工商-照面信息")
public class TaskHkhjkCompanyBasic extends Model<TaskHkhjkCompanyBasic> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "序号")
      @TableId(value = "mid", type = IdType.INPUT)
    private Integer mid;

    @ApiModelProperty(value = "企业名称")
    private String entname;

    @ApiModelProperty(value = "统一代码")
    private String uniscid;

    @ApiModelProperty(value = "注册号")
    private String regno;

    @ApiModelProperty(value = "企业(机构)类型")
    private String enttype;

    @ApiModelProperty(value = "法人姓名")
    private String name;

    @ApiModelProperty(value = "法人称谓")
    private String nametitle;

    @ApiModelProperty(value = "注册资金")
    private Double regcap;

    @ApiModelProperty(value = "注册资本(金)币种")
    private String regcapcur;

    @ApiModelProperty(value = "成立日期")
    private LocalDate esdate;

    @ApiModelProperty(value = "经营(驻在)期限自")
    private LocalDate opfrom;

    @ApiModelProperty(value = "经营(驻在)期限至")
    private LocalDate opto;

    @ApiModelProperty(value = "核准日期")
    private LocalDate apprdate;

    @ApiModelProperty(value = "登记机关")
    private String regorg;

    @ApiModelProperty(value = "企业状态")
    private String entstatus;

    @ApiModelProperty(value = "最后年检日期")
    private String ancheyear;

    @ApiModelProperty(value = "住所")
    private String dom;

    @ApiModelProperty(value = "经营(业务)范围")
    private String opscope;

    @ApiModelProperty(value = "插入时间")
    private LocalDateTime created;


    @Override
    protected Serializable pkVal() {
        return this.mid;
    }

}
